//Source file: D:\\test\\com\\ce\\pms\\custservice\\model\\EventRegionDO.java

package com.ce.pms.system.custservice.model;

import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ce.pms.common.model.SysInfo;
import com.sitechasia.webx.core.model.IDomainObject;


/**
 * 实体名称:事件区域 关联数据表:CE_EVENT_REGION
 *
 * @author 黄彦军 创建日期：2008-12-5
 */
@Entity
@Table(name = "CE_EVENT_REGION")
public class EventRegionDO  implements IDomainObject
{
	/**
	 * 有效
     */
	public static final String EVENT_REGION_STATUZ_AVAILABILITY   = "1";

	/**
	 * 无效
     */
	public static final String EVENT_REGION_STATUZ_INEFFICACY   = "0";

	/**
	 * 关键字
	 */
	@Id
	@GeneratedValue
	@Column(name = "EVENT_REGION_ID" , nullable = false )
   private Long keyword;

   /**
    * 事件区域名称
    */
	@Column(name = "NAME", length = 20, nullable = false)
   private String name;

   /**
    * 备注
    */
	@Column(name = "REMARK", length = 200)
   private String remark;

   /**
    * 序号
    */
	@Column(name = "SEQUENCE")
   private Short sequence;

   /**
    * 有效性 1有效;0无效
    */
	@Column(name = "VALIDITY", length = 1, nullable = false)
   private String validity;

	/**
	 * 系统信息
	 */
	@Embedded
   private SysInfo sysInfo;

   /**
    * @roseuid 4937AB3000FA
    */
   public EventRegionDO(){
   }

   /**
    * @param keyword
    * @return com.ce.pms.custservice.model.EventRegionDO
    * @roseuid 492BA0FF001F
    */
   public EventRegionDO(Long keyword)
   {
	   this.keyword = keyword;
   }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Short getSequence() {
		return sequence;
	}

	public void setSequence(Short sequence) {
		this.sequence = sequence;
	}

	public SysInfo getSysInfo() {
		return sysInfo;
	}

	public void setSysInfo(SysInfo sysInfo) {
		this.sysInfo = sysInfo;
	}

	public String getValidity() {
		return validity;
	}

	public void setValidity(String validity) {
		this.validity = validity;
	}

	public Long getKeyword() {
		return keyword;
	}

	public void setKeyword(Long keyword) {
		this.keyword = keyword;
	}
}
